import java.util.ArrayList;

public class Stock {


	String name;
	ArrayList<Double> prices;
	
	public Stock(String name,ArrayList<Double> prices){
		this.name=name;
		this.prices=prices;
	}

	@Override
	public String toString() {
		return "Stock [name=" + name + ", prices=" + prices + "]";
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public ArrayList<Double> getPrices() {
		return prices;
	}

	public void setPrices(ArrayList<Double> prices) {
		this.prices = prices;
	}

}
